package net.siufung.security.provider.exception;

import net.siufung.core.result.IResultType;
import net.siufung.security.base.exception.Oauth2Exception;

/**
 * @author 陈建峰
 * @since 2022/3/2 1:38 下午
 */
public class PasswdAuthenticationException extends Oauth2Exception {

    private static final long serialVersionUID = 6460440750865124441L;

    public PasswdAuthenticationException(String msg) {
        super(msg);
    }

    public PasswdAuthenticationException(IResultType resultType){
        super(resultType.getMessage());
    }

}
